import os
from pathlib import Path

# static files

BASE_DIR = Path(__file__).resolve().parent.parent
STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATICFILES_DIRS = (
    ('admin', os.path.join(STATIC_ROOT, 'admin').replace('\\', '/')),
    ('rest_framework', os.path.join(STATIC_ROOT,
                                    'rest_framework').replace('\\', '/')),
    ('django_extensions', os.path.join(STATIC_ROOT,
                                       'django_extensions').replace('\\', '/')),
    ('import_export', os.path.join(STATIC_ROOT,
                                   'import_export').replace('\\', '/')),
    ('avatar', os.path.join(STATIC_ROOT,
                            'avatar').replace('\\', '/')),
    ('files', os.path.join(STATIC_ROOT,
                           'files').replace('\\', '/')),
)
